package io.gitee.redismq.core.config;

/**
 * 打印banner
 * @author 孙浩
 * @since 2025-03-05
 */
public class RedisMQBanner {
    private static final String BANNER =
            "  _____  ______ _____ _____  _____       _____ _______ _____  ______          __  __ \n" +
                    " |  __ \\|  ____|  __ \\_   _|/ ____|     / ____|__   __|  __ \\|  ____|   /\\   |  \\/  |\n" +
                    " | |__) | |__  | |  | || | | (___ _____| (___    | |  | |__) | |__     /  \\  | \\  / |\n" +
                    " |  _  /|  __| | |  | || |  \\___ \\______\\___ \\   | |  |  _  /|  __|   / /\\ \\ | |\\/| |\n" +
                    " | | \\ \\| |____| |__| || |_ ____) |     ____) |  | |  | | \\ \\| |____ / ____ \\| |  | |\n" +
                    " |_|  \\_\\______|_____/_____|_____/     |_____/   |_|  |_|  \\_\\______/_/    \\_\\_|  |_|\n" +
                    "                                                                                   ";

    /**
     * 初始化配置文件时打印banner
     */
    public static void PrintBanner(String version) {
        System.out.println(BANNER + version);
    }
}
